package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingProjectVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Description NursingProjectMapper
 * @Author loe
 * @Date 2024-07-06
 */

@Mapper
public interface NursingProjectMapper {

    Page<NursingProjectVo> limitSearch(String name, Integer status);

    void insert(NursingProject nursingProject);

    NursingProject getById(Long id);

    void update(NursingProject nursingProject);

    void updateStatus(Long id, Integer status);

    void delete(Long id);

    List<NursingProjectVo> searchAll();
}
